package com.youlai.boot.system.service;

import com.youlai.boot.system.model.dto.AuditRequestDTO;
import com.youlai.boot.system.model.entity.RequestWaste;
import com.youlai.boot.system.model.entity.TaskAssignment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.boot.system.model.entity.WasteType;
import com.youlai.boot.system.model.vo.CalculatePriceVO;
import com.youlai.boot.system.model.vo.TaskAssignmentVO;

import java.util.List;

/**
 * 配送任务
 *
 * @author youlaitech
 * @since 2025-02-25 22:01
 */
public interface TaskAssignmentService extends IService<TaskAssignment> {


    List<TaskAssignmentVO> getCourierTaskList(Long courierId);

    Boolean auditAssignTask(AuditRequestDTO dto);

    CalculatePriceVO calculatePrice(List<RequestWaste> wasteList);

    TaskAssignmentVO getCourierTask(Long taskId);
}
